package cn.zwx.member.svc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhangwenxue
 */
@Data
@ApiModel("新增会员分组入参")
public class MemberGroupCreateDTO {

    @ApiModelProperty( "名称")
    @NotBlank(message = "名称不能为空")
    private String name;

    @ApiModelProperty( "备注")
    private String remark;

    @ApiModelProperty( "状态 0-开启 1-关闭")
    @NotNull(message = "状态不能为空")
    private Integer status;

    @NotNull(message = "创建人id不能为空")
    @ApiModelProperty( value = "创建人id",required = true)
    private Long userId;


}
